<?php
$this->registerCssFile('@static/css/stars_top.css');
$this->title = date('Y',time()) . "热门【{$navTitle}】美女排名_美女排行榜-果图网";
$page > 1 && $this->title .= "-第{$page}页";

$this->registerMetaTag([
    'name'=>'description',
    'content'=>"果图网(guotuw.com)美女排行栏目搜集了最新最热门的{$navTitle}榜单,找最新最热门的{$navTitle}上果图网！"
]);

?>
<div class="main wrapper">
    <div class="main_l fl">
        <div class="place_nav"><a href="<?=Yii::$app->request->getHostInfo();?>" class="icon_home"><em></em></a><a href="<?=Yii::$app->request->getHostInfo();?>">果图网</a>><a href="/ranking/">美女排行榜</a>><?=$navTitle?></div>

        <ul class="stars_top mt20">
            <?php foreach ($data as $i => $star): ?>
                <?php if($star['ranking'] < 4):?>
                    <li class="top top<?php echo $star['ranking']; ?>">
                        <div class="img">
                            <a title="<?=$star['name']?>(<?=$star['nick_name']?>)" href="/meinv/<?=$star['id']?>.html" target="_blank">
                                <img title="<?=$star['name']?>(<?=$star['nick_name']?>)" alt="<?=$star['name']?>(<?=$star['nick_name']?>)" src="<?=$star['header']?>">
                            </a><em></em>
                        </div>
                        <div class="title">
                            <span class="icon_fansnum">
                                <i></i><?=$star['view']?>浏览量</span>
                                <a title="<?=$star['name']?>(<?=$star['nick_name']?>)" href="/meinv/<?=$star['id']?>.html" target="_blank">
                                    <strong><?=$star['name']?></strong>
                                </a>
                            <?php if(intval($star['star_sign']) > 0):?><em class="icon_xz"><?php echo Yii::$app->params['starSign'][$star['star_sign']]; ?></em><?php endif;?>
                        </div>
                        <p><?=$star['desc']?></p>
                        <span class="starbtn btn1" >
                            <a  title="<?=$star['name']?>(<?=$star['nick_name']?>)" href="/meinv/<?=$star['id']?>.html" target="_blank"><i></i>宠幸TA</a>
                        </span>
                    </li>
                <?php else:?>
                    <li>
                        <span class="icon_fansnum">
                            <i></i><?=$star['view']?>浏览量
                        </span>
                        <a title="<?=$star['name']?>(<?=$star['nick_name']?>)" href="/meinv/<?=$star['id']?>.html" target="_blank">
                            <div class="img">
                                <img title="<?=$star['name']?>(<?=$star['nick_name']?>)" alt="<?=$star['name']?>(<?=$star['nick_name']?>)" src="<?=$star['header']?>">
                                <em>NO.<?=$star['ranking']?></em>
                            </div>
                            <strong><?=$star['name']?></strong>
                        </a>
                        <?php if(intval($star['star_sign']) > 0):?><em class="icon_xz"><?php echo Yii::$app->params['starSign'][$star['star_sign']]; ?></em><?php endif;?>
                        <span class="starbtn btn1">
                            <a  title="<?=$star['name']?>(<?=$star['nick_name']?>)" href="/meinv/<?=$star['id']?>.html" target="_blank"><i></i>宠幸TA</a>
                        </span>
                    </li>
                <?php endif;?>
            <?php endforeach;?>
        </ul>

        <!--分页-->
        <div class="page">
            <?=$pageString?>
        </div>

    </div>
    <div class="main_r fr">

        <?php echo $this->render('/bangdan/searchStar');?>

        <div class="r_box1 mt20">
            <h3><span>站长推荐美女</span></h3>
            <ul class="limg_rtxt joinlist mt20">
                <?php foreach ($randomStars as $star): ?>
                    <li>
                        <a title="<?=$star['name']?>(<?=$star['nick_name']?>)" href="/meinv/<?=$star['id']?>.html">
                            <img title="<?=$star['name']?>(<?=$star['nick_name']?>)" alt="<?=$star['name']?>(<?=$star['nick_name']?>)" src="<?=$star['header']?>">
                            <strong><?=$star['name']?></strong>
                            <em class="fansnum"><i></i><?=$star['view']?></em>
                            <em class="phnum"><i></i>NO.<?=$star['ranking']?></em>
                        </a>
                    </li>
                    <div class="line"></div>
                <?php endforeach;?>
            </ul>
        </div>


        <?php echo  $this->render('/layouts/hotTags');?>

    </div>
    <div class="clear"></div>
</div>